﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="OpenRPOSBackOffice.AdjustPunchDialog"
           Width="182" Height="206" 
           Title="Adjust Punch">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Height="17" VerticalAlignment="Top" Width="120" Margin="20,5,0,0" Content="Punch Time"/>
        <toolkit:TimePicker x:Name="tpPunchTime" HorizontalAlignment="Left" Margin="20,22,0,0" VerticalAlignment="Top"/>
        <RadioButton x:Name="rbIn" Content="In" HorizontalAlignment="Left" Margin="20,49,0,0" VerticalAlignment="Top" Checked="rbIn_Checked"/>
        <RadioButton x:Name="rbOut" Content="Out" HorizontalAlignment="Left" Margin="71,49,0,0" VerticalAlignment="Top" Checked="rbOut_Checked"/>
        <sdk:Label x:Name="lblRole" HorizontalAlignment="Left" Height="15" Margin="10,71,0,0" VerticalAlignment="Top" Width="120" Content="Role"/>
        <ComboBox x:Name="cmbRole" HorizontalAlignment="Left" Margin="10,86,0,0" VerticalAlignment="Top" Width="140"/>
        <Button x:Name="btnOK" Content="OK" Click="OKButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="1" />
        <Button x:Name="btnCancel" Content="Cancel" Click="CancelButton_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="1" Height="31" VerticalAlignment="Top" />
    </Grid>
</controls:ChildWindow>